<?php

namespace App\User;

use Illuminate\Database\Eloquent\Model;

class Favors extends Model
{
    protected $table = 'favors';
    protected $fillable = [
        'userid', 'section', 'question',
    ];

    public function questions()
    {
        return $this->belongsTo(Question::class, 'question');
    }

}
